package com.suisung.shopsuite.account.model.req;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;


@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(description = "粉丝来源关系表参数")
public class UserDistributionStateEditReq implements Serializable {

    @ApiModelProperty("用户编号")
    @NotNull(message = "用户编号不能为空")
    private Integer userId;

    @ApiModelProperty("是否有效(BOOL):0-未生效;1-有效")
    @NotNull(message = "是否有效不能为空")
    private Boolean userActive;
}
